package com.atguigu.service.base.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GuliException extends RuntimeException{

    static final long serialVersionUID = -8034897190745766939L;

    /**
     * 状态码
     */
    private Integer code;

    /**
     * 异常信息
     */
    private String msg;

    // public GuliException() {
    //     super();
    // }
    //
    // public GuliException(String message) {
    //     super(message);
    // }
    //
    // public GuliException(String message, Throwable cause) {
    //     super(message, cause);
    // }
    //
    // public GuliException(Throwable cause) {
    //     super(cause);
    // }
    //
    // protected GuliException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
    //     super(message, cause, enableSuppression, writableStackTrace);
    // }
}
